import 'ant-design-vue/dist/reset.css'
import {
  Button,
  Table,
  Modal,
  Form,
  Input,
  Select,
  SelectOption,
  Popover,
  Popconfirm,
  Layout,
  Checkbox,
  message,
  Menu,
  Avatar,
  Image,
  Radio,
  Rate,
  Spin,
  Tag,
  Empty,
  InputNumber,
  Badge, Tabs
} from 'ant-design-vue'
import { App } from "vue";

export const InitAntComponents = (app: App<Element>) => {
  app.use(Button)
  app.use(Table)
  app.use(Modal)
  app.use(Form)
  app.use(Input)
  app.use(InputNumber)
  app.use(Select)
  app.use(Checkbox)
  app.use(SelectOption)
  app.use(Popover)
  app.use(Popconfirm)
  app.use(Layout)
  app.use(Menu)
  app.use(Avatar)
  app.use(Image)
  app.use(Radio)
  app.use(Rate)
  app.use(Spin)
  app.use(Tag)
  app.use(Empty)
  app.use(Badge)
  app.use(Tabs)
  app.config.globalProperties.$message = message
}